﻿using MqttBased;
using System;
using System.Threading.Tasks;

namespace Server
{
    class Program
    {
        static async Task Main(string[] args)
        {
            await new MqttServerProvider().CreateServiceInstance(new MqttSettingConfig().CreateDefaultSetting());
            Console.WriteLine("按任意键退出服务端");
            Console.ReadKey();
        }
    }
}
